• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DiplomaTT
    • App
    • DialogCloseRequestedEventArgs
    • DialogService
    • IDialog
    • IDialogRequestClose
    • IDialogService
    • MainWindow
  • DiplomaTT.DB
    • DataProvider
    • IDataProvider
    • Person
    • PersonEntities
    • Token
  • ImageDemo
    • App
    • MainWindow
  • ImageDemo.Viewmodels
    • DetectedFace
    • MainWindowViewModel
    • PersonMatchResult
  • PersonManager
    • App
  • PersonManager.ViewModels
    • EnrollPhotoViewModel
    • MainWindowViewModel
    • PersonalDataVisual
    • PersonDetailViewModel
    • PersonDetailViewModel.DetailDialogMode
  • PersonManager.Views
    • EnrollPhoto
    • MainWindow
    • PersonDetail
  • TestApp
    • App
    • MainWindow
  • TestApp.Views
    • ResultDialog

Class MainWindowViewModel

ViewModel hlavniho okna

Inheritance
System.Object
MainWindowViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PersonManager.ViewModels
Assembly: PersonManager.dll
Syntax
public class MainWindowViewModel : INotifyPropertyChanged

Constructors

MainWindowViewModel(IDialogService)

Initializes a new instance of the EnrollmentViewModel class.

Declaration
public MainWindowViewModel(IDialogService dialogService)
Parameters
Type Name Description
IDialogService dialogService

Fields

_enrolledPersons

Seznam enrolovanych osob

Declaration
protected BindingList<PersonalDataVisual> _enrolledPersons
Field Value
Type Description
System.ComponentModel.BindingList<PersonalDataVisual>

_selectedPerson

Vybrana enrolovana osoba

Declaration
protected PersonalDataVisual _selectedPerson
Field Value
Type Description
PersonalDataVisual

Properties

_dialogService

instance dialog service (sprava dialogovych oken)

Declaration
protected IDialogService _dialogService { get; }
Property Value
Type Description
IDialogService

AddPersonCommand

Vrati Command, ktery se spusti po stisknuti tlacitka v toolbaru pro pridani nove osoby

Declaration
public ICommand AddPersonCommand { get; set; }
Property Value
Type Description
System.Windows.Input.ICommand

DelPersonCommand

Vrati Command, ktery se spusti po stisknuti tlacitka v toolbaru pro odebrani vybrane osoby

Declaration
public ICommand DelPersonCommand { get; set; }
Property Value
Type Description
System.Windows.Input.ICommand

EditPersonCommand

Vrati Command, ktery se spusti po stisknuti tlacitka v toolbaru pro editaci vybrane osoby

Declaration
public ICommand EditPersonCommand { get; set; }
Property Value
Type Description
System.Windows.Input.ICommand

EnrolledPersons

Declaration
public BindingList<PersonalDataVisual> EnrolledPersons { get; }
Property Value
Type Description
System.ComponentModel.BindingList<PersonalDataVisual>

SelectedPerson

Declaration
public PersonalDataVisual SelectedPerson { get; set; }
Property Value
Type Description
PersonalDataVisual

Window

Declaration
public Window Window { get; set; }
Property Value
Type Description
System.Windows.Window

Methods

LoadBiometricData()

Nahraje biometricka data pro zobrazeni

Declaration
protected void LoadBiometricData()

Events

PropertyChanged

Event pro zajisteni bindovani a propsani zmen

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged
Back to top Generated by DocFX